package behavior.interpreter;

import java.util.HashMap;

public class Test {
    public static void main(String[] args) {
        Calculator calculator = new Calculator("a+b-c");

        HashMap hashMap = new HashMap();
        hashMap.put("a",10);
        hashMap.put("b",20);
        hashMap.put("c",4);
        int run = calculator.run(hashMap);
        System.out.println(run);
    }
}


